#!/usr/bin/python3
"""
游泳池问题
"""
PI=3.1415

class Circle():
	def __init__(self,radius):
		self.radius = radius

	@property
	def perimeter(self):
		return 2*PI*self.radius

	@property
	def area(self):
		return PI * (self.radius ** 2)

def main():
	radius=float(input('请输入游泳池的半径：'))
	c1,c2=Circle(radius),Circle(radius+3)
	print(f'围墙的造价为：{c2.perimeter*28.5}元')
	print(f'过道的造价为：{(c2.area-c1.area)*35.5}元')

if __name__=='__main__':
	main()
